import * as types from '../actions/priceaction'

const initialState = {originalPrice : '', discountPrice : ''};

export default function price(state = initialState, action) {
  switch (action.type) {
    case types.CHANGE_PRICE:
        return Object.assign({}, state, {
		    originalPrice : action.originalPrice,
		    discountPrice : action.discountPrice
      	});

    default:
      return state;
  }
}